

omniploid.o: omniploid.c haptree.h
	gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c omniploid.c -o omniploid.o

haptree.o: haptree.h haptree.c
	gcc -Wall -g -arch i386 -arch ppc -o haptree.o -c haptree.c

omniploid.so: haptree.o omniploid.o
	gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc omniploid.o haptree.o -o omniploid.so

omniploid.c: omniploid.pyx
	pyrexc $<

